package com.ymk.base.exception;


import com.ymk.core.code.resp.RespCode;

public class MallException extends Exception {
    private Integer respCode = RespCode.CODE_ERROR;
    private String msg;

    public MallException() {
        super();
    }

    public MallException(String msg) {
        super(msg);
        this.msg = msg;
    }



    public MallException(Integer respCode, String msg) {
        super(msg);
        this.respCode = respCode;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getRespCode() {
        return respCode;
    }

    public void setRespCode(Integer respCode) {
        this.respCode = respCode;
    }
}
